<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      >
    <h:head>
        <title>#{pageTitle}</title>
        <link href="./resources/css/cssLayout.css" rel="stylesheet" type="text/css" />

        <style type="text/css">
            .ui-layout-north, .ui-layout-south, .ui-layout-east, .ui-layout-west, .ui-layout-center {
                border: none;
            }

            .ui-button-text {
                padding: 10px ;
            }

            .ui-layout-center {
                padding: 10px;
            }

            .ui-layout-north {
                overflow:visible !important;
            }
        </style>


    </h:head>
    <h:body>
        <f:view locale="#{locale.locale}" >
            <p:layout fullPage="true" collapseTitle="#{trans.b_collapse}" widgetVar="layoutWdgt" expandTitle="#{trans.b_expand}" >
                <p:layoutUnit id="top" position="north" size="85" collapsible="true" >
                    <p:commandButton title="#{trans.b_collapse}" onclick="layoutWdgt.toggle('north')" style="position: absolute; bottom: 2px; left: 0px; width: 16px; height: 16px;" icon="ui-icon-triangle-1-n"/>
                    
                    <ui:include src="/WEB-INF/includes/v_Top.xhtml"/>
                </p:layoutUnit>


                <p:layoutUnit position="west" size="200" resizable="false" closable="false" collapsible="true">
                    <p:commandButton title="#{trans.b_collapse}" onclick="layoutWdgt.toggle('west')" style="position: absolute; top: 0px; right: 0px; width: 16px; height: 16px;" icon="ui-icon-triangle-1-w"/>

                    <ui:include src="/WEB-INF/includes/v_Left.xhtml"/>
                </p:layoutUnit>

                <p:layoutUnit position="center">
                    <ui:insert name="content">hlavni obsah</ui:insert>
                </p:layoutUnit>

                <p:layoutUnit position="east" size="250"  resizable="false" closable="false" collapsible="true" collapsed="true">
                     <p:commandButton title="#{trans.b_collapse}" onclick="layoutWdgt.toggle('east')" style="position: absolute; top: 0px; left: 0px; width: 16px; height: 16px;" icon="ui-icon-triangle-1-e"/>
                    
                     <ui:include src="/WEB-INF/includes/v_Right.xhtml"/>
                </p:layoutUnit>

            </p:layout>

             

        </f:view>


    </h:body>
</html>